#include"TwoCoexistingStacks.h"

int main(int argc, char** argv)
{
	Double_stack e;
	e.push_a(1); e.push_a(2);  e.push_a(3);
	e.push_b(1); e.push_b(2);  e.push_b(3);
	int x;
	e.stacktop_a(x);  cout << x;
	e.stacktop_b(x);  cout << x;
	e.pop_a(); e.pop_b();
	e.stacktop_a(x);  cout << x;
	e.stacktop_b(x);  cout << x;
	e.empty_a(); e.empty_b();
	return 0;
}
